package fr.appliClient.server.dto;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * The DTO object for the vehicle
 * 
 * @author remi
 * 
 */
public class VehicleDTO implements Serializable {

	private static final long serialVersionUID = 7573920279439506191L;

	private String registration;

	private Date purchaseDate;

	private String service;

	private String user;

	private String responsible;

	private String status;

	private String family;

	private String insurance;

	private List<String> consumptions;

	private List<String> maintenances;

	public VehicleDTO() {

		// needed for serialization.
	}

	/**
	 * @return the registration
	 */
	public String getRegistration() {

		return this.registration;
	}

	/**
	 * @param registration
	 *            the registration to set
	 */
	public void setRegistration(String registration) {

		this.registration = registration;
	}

	/**
	 * @return the purchaseDate
	 */
	public Date getPurchaseDate() {

		return this.purchaseDate;
	}

	/**
	 * @param purchaseDate
	 *            the purchaseDate to set
	 */
	public void setPurchaseDate(Date purchaseDate) {

		this.purchaseDate = purchaseDate;
	}

	/**
	 * @return the service
	 */
	public String getService() {

		return this.service;
	}

	/**
	 * @param service
	 *            the service to set
	 */
	public void setService(String service) {

		this.service = service;
	}

	/**
	 * @return the user
	 */
	public String getUser() {

		return this.user;
	}

	/**
	 * @param user
	 *            the user to set
	 */
	public void setUser(String user) {

		this.user = user;
	}

	/**
	 * @return the responsible
	 */
	public String getResponsible() {

		return this.responsible;
	}

	/**
	 * @param responsible
	 *            the responsible to set
	 */
	public void setResponsible(String responsible) {

		this.responsible = responsible;
	}

	/**
	 * @return the status
	 */
	public String getStatus() {

		return this.status;
	}

	/**
	 * @param status
	 *            the status to set
	 */
	public void setStatus(String status) {

		this.status = status;
	}

	/**
	 * @return the family
	 */
	public String getFamily() {

		return this.family;
	}

	/**
	 * @param family
	 *            the family to set
	 */
	public void setFamily(String family) {

		this.family = family;
	}

	/**
	 * @return the insurance
	 */
	public String getInsurance() {

		return this.insurance;
	}

	/**
	 * @param insurance
	 *            the insurance to set
	 */
	public void setInsurance(String insurance) {

		this.insurance = insurance;
	}

	/**
	 * @return the consumptions
	 */
	public List<String> getConsumptions() {

		return this.consumptions;
	}

	/**
	 * @param consumptions
	 *            the consumptions to set
	 */
	public void setConsumptions(List<String> consumptions) {

		this.consumptions = consumptions;
	}

	/**
	 * @return the maintenances
	 */
	public List<String> getMaintenances() {

		return this.maintenances;
	}

	/**
	 * @param maintenances
	 *            the maintenances to set
	 */
	public void setMaintenances(List<String> maintenances) {

		this.maintenances = maintenances;
	}

}
